package org.sun.dbrd.mains;

import java.io.File;

import org.sun.dbrd.IdsPreprocessor.VersionOrderMap;

public class MozillaIdsPreprocessorMain extends AbstractPreprocessorMain {

	public static void main(String[] args) {
		new MozillaIdsPreprocessorMain().run();
	}

	@Override
	protected File getMappingFile() {
		return new File("aseData2011/id-2011-reports.txt-mapping.txt");
	}

	@Override
	protected File getResultFile() {
		return new File("aseData2011/id-2011-reports-large.txt");
	}

	@Override
	protected File getSummaryFile() {
		return new File("until2011/2011-reports.txt");
	}
	
	
	@Override
	protected VersionOrderMap createVersionOrderMap(File versionOrderFile) {
		return new VersionOrderMap(versionOrderFile) {
			@Override
			public int getVersionOrder(String version, int reportId) {
				return 1;
			}
			
			@Override
			protected void initialize(File versionOrderFile) {
			}
		};
	}

	@Override
	protected File getVersionOrderFile() {
		return null;
	}
}
